home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / Coverage / COV_DLGS.H < prev    next >
Encoding:
Text File  |  1998-05-01  |  2.4 KB  |  55 lines

  1. * COV_DLGS.H
  2. * Constants for components in use by Coverage app
  3.  
  4. *&* Messagebox:
  5. #DEFINE COV_STOP_MESSAGEBOX                     16,COV_DIALOG_CAPTION_LOC+" "+COV_PROBLEM_LOC
  6. #DEFINE COV_INFO_MESSAGEBOX                     64,COV_DIALOG_CAPTION_LOC+" "+COV_INFO_LOC
  7. #DEFINE COV_YESNOCANCEL_MESSAGEBOX              32+3,COV_DIALOG_CAPTION_LOC
  8. #DEFINE COV_WARNING_YESNO_MESSAGEBOX            48+4,COV_DIALOG_CAPTION_LOC
  9. #DEFINE IDYES                                   6
  10. #DEFINE IDNO                                    7
  11. #DEFINE IDCANCEL                                2 
  12.  
  13.  
  14. *&* common dialog classes in use:
  15.  
  16. #DEFINE COV_COMMON_FILE_DIALOG_CLASS            "scov_CommonFileDialog"
  17. #DEFINE COV_COMMON_DIALOG_CLASS                 "scov_CommonDialog"
  18.  
  19. #DEFINE cdlScaleModePixels                      3
  20.  
  21. *&* common dialog flag constants and results for getfont:
  22. #DEFINE cdlCFScreenFonts                        0x1
  23. * Screen fonts supported by the system only
  24. #DEFINE cdlCFANSIOnly                           0x400
  25. * Specifies that the dialog box allows only a selection of the fonts that use the Windows character set. 
  26. * If this flag is set, the user won't be able to select a font that contains only symbols.
  27. #DEFINE cdlCFForceFontExist                     0x10000
  28. * Specifies that an error message box is displayed if the user attempts to select a font or style that doesn't exist.
  29. #DEFINE cdlCFNoStyleSel                            0x100000
  30. * No style
  31. #DEFINE cdlCFFixedPitchOnly                        0x4000    
  32. * Specifies that the dialog box selects only fixed-pitch fonts
  33.  
  34. *&* common dialog constants for getfile/putfile:
  35. #DEFINE cdlOFNPathMustExist                     0x800    
  36. * User can enter only valid path names.
  37. #DEFINE cdlOFNNoChangeDir                       0x8
  38. * Sets the current directory to what it was when the dialog box was invoked.
  39. #DEFINE cdlOFNHideReadOnly                      0x4
  40. * Hide readonly checkbox
  41. #DEFINE cdlOFNExplorer                          0x80000    
  42. * Use Explorer dialog template
  43.  
  44. *&* addtl common dialog constant for getfile/reads:
  45. #DEFINE cdlOFNFileMustExist                     0x1000    
  46. * User can enter only names of existing files.
  47.  
  48. *&* addtl common dialog constants for putfile/writes:
  49. #DEFINE cdlOFNOverwritePrompt                   0x2
  50. * User must confirm whether to overwrite the file.
  51. #DEFINE cdlOFNNoReadOnlyReturn                  0x8000
  52. * File can't be Read Only and can't be in a write-protected dir.
  53.  
  54.  
  55.